#include "RHIThread.h"
#include <windows.h>
#include "../Utils/LogUtil.h"
#include "../Core/CoreGlobals.h"

bool RHIThread::Init()
{
	assert(TaskThread::Init());

	return true;
}

uint32 RHIThread::Run()
{
	while (!ThreadManager::Get().IsTimeToExit())
	{
		ProcessTasksUntilReturn();
	}
	return 0;
}

void RHIThread::Stop()
{
	TaskThread::Stop();
}

void RHIThread::Exit()
{
	TaskThread::Exit();
}
